package com.jiaai.cloud.wx.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-28
 */
@TableName("t_admin")
public class TAdmin extends Model<TAdmin> {

    private static final long serialVersionUID = 1L;

    /**
     * 管理员的编号
     */
	@TableId(value="adminid", type= IdType.INPUT)
	private String adminid;
    /**
     * 管理员的用户名
     */
	private String adminname;
    /**
     * 管理员的密码
     */
	private String adminpassword;


	public String getAdminid() {
		return adminid;
	}

	public void setAdminid(String adminid) {
		this.adminid = adminid;
	}

	public String getAdminname() {
		return adminname;
	}

	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}

	public String getAdminpassword() {
		return adminpassword;
	}

	public void setAdminpassword(String adminpassword) {
		this.adminpassword = adminpassword;
	}

	@Override
	protected Serializable pkVal() {
		return this.adminid;
	}

}
